<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
     <%
     String language=request.getParameter("language");
    Cookie cookie= new Cookie("language",language);
    cookie.setMaxAge(60*60*24);
    response.addCookie(cookie);
    
    %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript">
	location.href="cookieExample.jsp";
</script>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>cookieExample2</title>
</head>
<body>
</body>
</html>